<template>
  <div class="footer">
    <div class="copyright">
      Copyright
      <a-icon type="copyright" />
      {{ copyright }}
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex';

export default {
  name: 'GlobalFooter',
  computed: {
    ...mapState({
      copyright: (state) => state.setting.copyright,
    }),
  },
};
</script>

<style lang="less" scoped>
.footer {
  padding: 0 16px;
  width: 100%;
  margin: 24px auto;
  text-align: center;
  .copyright {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
  }
}
</style>
